package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("order_items")
public class OrderItems {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer order_id;
    private Integer product_id;
    private Integer quantity;
    private BigDecimal unit_price;
    private BigDecimal subtotal;

}
